import sys,os
from logging import INFO


CONFIG = {

}

#######################
#########Basic#########
#######################

# 默认定时时间
CONFIG['BASIC_LOOPDELAY'] = 2

# 数据存放位置
CONFIG['SAVE_LOCATION'] = './data/'

# 数据存放名称
CONFIG['SAVE_FILENAME'] = 'data.json'

########################
###########Log##########
########################
CONFIG['LOG_LEVEL'] = INFO
CONFIG['LOG_FILENAME'] = 'log.log'
CONFIG['LOG_DATEFORMAT'] = '%Y-%M-%D %H:%M:%S'
CONFIG['LOG_FORMAT'] = '%(asctime)s - [%(levelname)s] - %(message)s-%(funcName)s'
CONFIG['LOG_FILEMODE'] = 'a'
